package com.iu.scca.core.domain;

import org.springframework.data.jpa.repository.JpaRepository;

import java.util.List;


public interface LabelRepo extends JpaRepository<Label, Long> {

    List<Label> findAllByProject_Id(long id);

    Label findFirstByNameAndProject(String name, Project project);

}
